<template>
  <div class="inline-block" :style="{background:background}">
    <img v-if="src" style="width: 96px;height: 96px" :src="src" alt="">
    <img v-else src="../assets/logo.png" style="width: 96px;height: 96px" alt="">
  </div>
</template>

<script>
export default {
  name: 'ToolIcon',
  props: {
    src: String,
    background: String
  }
}
</script>

<style scoped>

</style>
